<%@page import="com.lunduhotel.modelo.Reserva"%>
<%@page import="com.lunduhotel.dao.ReservaDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="exec.css"/>
<title>Remover reserva</title>
</head>
<body>
<div id="todo">
	<div id="cabeca">
		
	<img src="topo.JPG" width = 900px; height= 80px;>	
	
</div>
<div id="esquerdaEXT">
	<h1>	
	MENU</h1>
	<%@include file = "menu.jsp" %>
	
</div>
<div id="direitaEXT">
	<div id="esquerdaINT">
	
<h2>
<form action="ServletRemoveReserva" method="post">
	${msg}
	<h3>Remover Reserva</h3>
	<p>Escolha a reserva que deseja remover:</p>
		<table border="1">
		<tr>
			<td></td>
			<td>Tipo</td>
			<td>Valor</td>
			<td>Cama Solteiro</td>
			<td>Cama casal</td>
		</tr>
		<% ReservaDao dao = new ReservaDao();
		for(Reserva q : ){
		%>
		<tr>
		<td><input type="radio" name="idQuarto" value="<%=q.getId()%>" /></td>
		<td><%= q.getTipo() %></td>
		<td><%= "" + q.getValor() %></td>
		<td><%= "" + q.getQuantCama()%></td>
		<td><%= "" + q.getQuantCamaCasal()%></td>
		</tr>
		
		<%} %>
		</table>
		
		
		<input type="submit" value="Enviar" />
	</form>
<br><br>

</h2>	
	</div>
	<div id="direitaINT">	
<p>
<strong>Equipe:</strong><br />
Araújo Filho<br />
Sávio de Castro<br />
Wanrly Sousa<br />
</p>
	</div>
</div> 
<div id="rodape">	
Lundu Hotel
<adress><br>0000000000</adress>
</div>


</body>
</html>